package com.smm.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Song implements Serializable {
    private Integer songId;
    private String fileName;
    private String title;
    private String author;
    private String style;
    private Set<User> users = new HashSet<User>();


    @Override
    public String toString() {
        return "Song{" +
                "songId=" + songId +
                ", fileName='" + fileName + '\'' +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", style='" + style + '\'' +
                '}';
    }

    public Integer getSongId() {
        return songId;
    }

    public void setSongId(Integer songId) {
        this.songId = songId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }
}
